<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/showAccount.do" method="post">
        姓名:<input type="text" name="name">
        <input type="submit" th:value="查询">
    </form>
    <table border="1">
        <tr><td>编号</td><td>姓名</td></tr>
        <tr th:each="acc:${list}">
            <td>[[${acc.aid}]]</td>
            <td>[[${acc.name}]]</td>
        </tr>
    </table>
</body>
</html>